package com.sx.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.text.SimpleDateFormat;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
//商品表
public class Goods {
    //商品Id
    private String id;
    //商品类别
    private String categoryId;
    //商品名称
    private String name;
    //商品价格
    private float price;
    //商品描述
    private String description;
    //商品进价
    private float inPrice;
    //商品剩余数量
    private Integer number;
    //商品生产日期
    private Date createDate;
    //商品保质期
    private Integer shelfLife;
    //供应商Id
    private String supplier_id;
}
